import modelA from './modelA.js'
console.log(modelA.sum(1, 2, 3, 4), modelA.num)

// 注意 export default 导出的不能解构赋值
// import { sum, num } from './modelA.js'  !!报错

import { average } from './modelB.js'
console.log(average(1, 2, 3, 4))

// import { a, obj } from './modelC.js'
// console.log(a, obj)

import * as sc from './modelC.js'
console.log(sc.a, sc.obj)
